Optimal. Leaf size=144 \[ \frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}-\frac{2 b e^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{3 d^2}+\frac{2 b e n \sqrt{d+e x^2}}{3 d^2 x}-\frac{b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13297, antiderivative size = 144, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32, Rules used = {271, 264, 2350, 12, 451, 277, 217, 206} \[ \frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}-\frac{2 b e^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{3 d^2}+\frac{2 b e n \sqrt{d+e x^2}}{3 d^2 x}-\frac{b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 271
Rule 264
Rule 2350
Rule 12
Rule 451
Rule 277
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{a+b \log \left (c x^n\right )}{x^4 \sqrt{d+e x^2}} \, dx &=-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-(b n) \int \frac{\sqrt{d+e x^2} \left (-d+2 e x^2\right )}{3 d^2 x^4} \, dx\\ &=-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac{(b n) \int \frac{\sqrt{d+e x^2} \left (-d+2 e x^2\right )}{x^4} \, dx}{3 d^2}\\ &=-\frac{b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac{(2 b e n) \int \frac{\sqrt{d+e x^2}}{x^2} \, dx}{3 d^2}\\ &=\frac{2 b e n \sqrt{d+e x^2}}{3 d^2 x}-\frac{b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac{\left (2 b e^2 n\right ) \int \frac{1}{\sqrt{d+e x^2}} \, dx}{3 d^2}\\ &=\frac{2 b e n \sqrt{d+e x^2}}{3 d^2 x}-\frac{b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac{\left (2 b e^2 n\right ) \operatorname{Subst}\left (\int \frac{1}{1-e x^2} \, dx,x,\frac{x}{\sqrt{d+e x^2}}\right )}{3 d^2}\\ &=\frac{2 b e n \sqrt{d+e x^2}}{3 d^2 x}-\frac{b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac{2 b e^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{3 d^2}-\frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac{2 e \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}\\ \end{align*}
Mathematica [A] time = 0.142161, size = 110, normalized size = 0.76 \[ \frac{\sqrt{d+e x^2} \left (-3 a d+6 a e x^2-b d n+5 b e n x^2\right )-3 b \left (d-2 e x^2\right ) \sqrt{d+e x^2} \log \left (c x^n\right )-6 b e^{3/2} n x^3 \log \left (\sqrt{e} \sqrt{d+e x^2}+e x\right )}{9 d^2 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.434, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b\ln \left ( c{x}^{n} \right ) }{{x}^{4}}{\frac{1}{\sqrt{e{x}^{2}+d}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.50646, size = 540, normalized size = 3.75 \begin{align*} \left [\frac{3 \, b e^{\frac{3}{2}} n x^{3} \log \left (-2 \, e x^{2} + 2 \, \sqrt{e x^{2} + d} \sqrt{e} x - d\right ) -{\left (b d n -{\left (5 \, b e n + 6 \, a e\right )} x^{2} + 3 \, a d - 3 \,{\left (2 \, b e x^{2} - b d\right )} \log \left (c\right ) - 3 \,{\left (2 \, b e n x^{2} - b d n\right )} \log \left (x\right )\right )} \sqrt{e x^{2} + d}}{9 \, d^{2} x^{3}}, \frac{6 \, b \sqrt{-e} e n x^{3} \arctan \left (\frac{\sqrt{-e} x}{\sqrt{e x^{2} + d}}\right ) -{\left (b d n -{\left (5 \, b e n + 6 \, a e\right )} x^{2} + 3 \, a d - 3 \,{\left (2 \, b e x^{2} - b d\right )} \log \left (c\right ) - 3 \,{\left (2 \, b e n x^{2} - b d n\right )} \log \left (x\right )\right )} \sqrt{e x^{2} + d}}{9 \, d^{2} x^{3}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \log{\left (c x^{n} \right )}}{x^{4} \sqrt{d + e x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \log \left (c x^{n}\right ) + a}{\sqrt{e x^{2} + d} x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]